HTML 2.0 Checked!

The Hierarchy of the HTML 2.0 DTD

A Little Bit of SGML contains a walkthrough of the HTML tree, describing the SGML syntax used to define content models. If you have not attempted to read a DTD previously, I strongly recommend you look at this first.

For simplicity, the content models in the trees below assume HTML.Recommended, HTML.Highlighting and HTML.Forms are all included. However, deprecated elements appear in the trees themselves. For a full description of the syntax of HTML 2.0 elements, see the HTML 2.0 Specification, now published as RFC 1866.

[HTML tree] [HEAD tree] [BODY Outline tree] [%text tree] [%block tree] [Full BODY Tree]


The HTML Tree

<!ELEMENT HTML O O (%html.content)>


The HEAD Tree

<!ELEMENT HEAD O O (%head.content) +(META|LINK)>


The BODY Tree

The first list is an abbreviated tree, and so doesn't include the intricacies of %text and %block. A full BODY tree can be found at the end.

BODY Outline Tree

<!ELEMENT BODY O O %body.content>


The %text Tree


The %block Tree


The Full HTML 2.0 BODY Tree

Won't it be nice when your browser can expand and collapse nested lists for you?


[Top of page] [My copy of the HTML 2.0 DTD] [Introduction] [A Little Bit of SGML] [HTML 3.0 DTD Trees] [HTML 3.2 DTD Trees] [AWPA Useful Box] [Di's home page]


Last updated: 11 June 1996 by dkgsoft@ozemail.com.au (Dianne Gorman) AWPA
<URL:http://www.ozemail.com.au/~dkgsoft/html/html2.html>